package es.onlysolutions.gs.web.commandBean;

import es.onlysolutions.gs.comm.entity.Video;
import es.onlysolutions.gs.comm.filter.UserVideoFilter;

/**
 * Command bean to list videos of the current user.
 */
public class ListVideosUserBean extends GSCommandBean
{

    public ListVideosUserBean()
    {
        setEntidad( new Video() );
        setCriteria( new UserVideoFilter() );
    }

    /**
     * static attribute just to know in the JSP where we are.If true is a community search, false otherwise.
     */
    private boolean community = false;

    public boolean isCommunity()
    {
        return community;
    }

    public void setCommunity(boolean community)
    {
        this.community = community;
    }

}
